package com.ny.dao;

import com.ny.entity.Order;

import java.util.List;

public interface OrderDao {
    int insertOrder(Order order) throws Exception,  ClassNotFoundException;
    List<Order> getAllOrders() throws Exception;
    Order getOrderById(int id) throws Exception;
    int deleteOrder(int id) throws Exception;

}
